FROM node:14.17.4
RUN mkdir -p /usr/local/app
WORKDIR /usr/local/app
COPY ./ /usr/local/app
RUN npm install -g cnpm --registry=https://registry.npmmirror.com
RUN cnpm install pm2 -g
RUN cnpm install
RUN npm run build
EXPOSE 3009
#4
